import http from '@/http'
import type { RoleListParam } from '@/api/role/RoleModel'



export const getListApi = (param: RoleListParam) => {
    return http.post("/role/getList", param);

}



export const addRole = (param: SysRole) => {
    return http.post("/role/addOrUpdate", param);
}


export const deleteRoles = (param: Number[]) => {
    return http.post("/role/batchDel", param);
}







